<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
  <head>  
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <title>登录</title>
    <!-- Tell the browser to be responsive to screen width -->
    <meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
    <!-- Bootstrap 3.3.5 -->
    <link rel="stylesheet" href="/plugins/bootstrap/css/bootstrap.min.css">
    <!-- Font Awesome -->
      <link rel="stylesheet" href="/css/font-awesome.css">
    <!-- Ionicons -->
<!--     <link rel="stylesheet" href="/css/ionicons.min.css"> -->
    <!-- Theme style -->
    <link rel="stylesheet" href="/css/AdminLTE.min.css">
    <!-- iCheck -->
      <link rel="icon" href="/img/favicon.ico" type="image/x-icon">
  </head>
  
  <body class="hold-transition login-page" style="background-image:url(/img/loginlogo.png); background-repeat:no-repeat; background-size:100% 100%;-moz-background-size:100% 100%;
        ">
    <div class="login-box">
      <div class="login-box-body">
        <p class="login-box-msg" style="position: relative">
             <img src="/img/favicon.ico" alt="" style="position: absolute;top: 1px;"> <span style="margin-left: 17px">欢迎登陆东海机组排班系统</span>
        </p>
        <form action="/login/withoutCas" method="post" id = "loginform">
         <div class="form-group has-feedback">
            <input id="userName" name="userName" class="form-control" placeholder="用户名" value="">
            <span class="glyphicon glyphicon-user form-control-feedback"></span>
          </div>
          <div class="form-group has-feedback">
            <input id="password" type="password" name="password" class="form-control" placeholder="密码" value="">
            <span class="glyphicon glyphicon-lock form-control-feedback"></span>
          </div>
          

          <p th:if="${LoginError != null}" class="text-danger"> 用户名或密码错误  </p>

            		
		 <div class="row ">
			<div class="col-xs-12">  
              <button type="submit" id="login" class="btn btn-primary btn-block btn-flat">
				登录
			  </button>
            </div>
		  </div>	
        </form>
      </div><!-- /.login-box-body -->
    </div><!-- /.login-box -->
  </body>
</html>
